<h3><?php echo $Article['title'];?></h3>

<div><?php echo $Article['fulltext'];?></div>
<?php if($Article['comment']):?>
<?php if(Yii::app()->user->hasFlash('commentsubmit')): ?>
<div class="flash-success" id="comment">
	<?php echo Yii::app()->user->getFlash('commentsubmit'); ?>
</div>

<?php else: ?>
<div class="f-comment" id="comment">
<?php $form=$this->beginWidget('CActiveForm'); ?>
<?php echo $form->errorSummary($model); ?>
		<div class="row">
		<?php echo $form->label($model, 'author');?>
		<?php echo $form->textField($model,'author', array('style'=>'width: 210px;'));?>
		</div>
		<div class="row">
		<?php echo $form->label($model, 'email');?>
		<?php echo $form->textField($model,'email', array('style'=>'width: 210px;')); ?>
		</div>
		<div>
		<?php echo $form->label($model, 'content');?>
		<?php echo $form->textArea($model,'content', array('style'=>'width:400px; height: 100px;')); ?>
		</div>
		<div>
		<?php echo $form->labelEx($model,'verifyCode'); ?>
			<div class="verify">
			<?php echo $form->textField($model,'verifyCode', array('style'=>'margin:0 5px 0 0;width: 80px;')); ?>
			<?php $this->widget('CCaptcha'); ?>
			</div>
		</div>
		<div>
			<button name="submit" type="submit"><?php echo Yii::t('app', 'Send');?></button>
		</div>
<?php $this->endWidget(); ?>
</div>
<?php endif;?>
<?php endif;?>